package cn.edu.swu.sx.io;

import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        ImageManager manager = new ImageManager();
        Scanner input =new Scanner(System.in);
        boolean running =true;
        System.out.println("===图片下载系统===");
        while(running) {
            System.out.println("\n请选择功能：");
            System.out.println("\n1.下载图片：");
            System.out.println("\n2.查看所有图片：");
            System.out.println("\n3.搜索图片：");
            System.out.println("\n4.退出：");
            System.out.println("\n请输入选项（1-4）");


            String choice = input.nextLine().trim();
            switch (choice) {
                case "1":

                    break;
                case "2":

                    break;
                case "3":

                    break;
                case "4":
                    running=false;
                    break;


                default:
                    System.out.println("请输入1-4的整数：");


            }


        }


    }




}
